//
//  FaQiHeMaiViewController.h
//  PlayBall
//
//  Created by yanfa on 16/3/28.
//
//

#import "JddBaseViewController.h"
#import "CoBuyLotteryOperation.h"

@interface FaQiHeMaiViewController : JddBaseViewController<UITextFieldDelegate,UIGestureRecognizerDelegate,CoBuyLotteryOperationDelegate,UITextViewDelegate>{
    @private
    JddAlertView  *alert1;
}

SHARED_INSTANCE_DECLARE(FaQiHeMaiViewController)

//佣金比例
@property int BonusScale;
/** 保密设置 */
@property int SecrecyLevel;
/** 认购金额 */
@property int offer;
/** 保底金额 */
@property int guarantee;
/** 总金额 */
//@property int totalMoney;
/** 倍数 */
@property int bs;
/** 单倍金额 */
@property int allMoney;
/** 期次ID */
@property NSString *issueID;
/** 期次 */
@property NSString *issueName;
@property NSString *issueNameTitle;
/** 彩票ID */
@property int lotID;
/** 玩法 */
@property int playTypeId;
@property (strong, nonatomic) NSMutableArray *lotteryNumber;

@property (weak, nonatomic) IBOutlet UIScrollView *bgScrollView;
@property (weak, nonatomic) IBOutlet UILabel *labelIssueName;
@property (weak, nonatomic) IBOutlet UILabel *label_TotalMoney;
@property (weak, nonatomic) IBOutlet UILabel *label_rengouPer;
@property (weak, nonatomic) IBOutlet UILabel *label_baodiPer;
@property (weak, nonatomic) IBOutlet UIButton *btn_quanBao;
@property (weak, nonatomic) IBOutlet UIButton *btnBd0;
@property (weak, nonatomic) IBOutlet UIButton *btnBd1;
@property (weak, nonatomic) IBOutlet UIButton *btnBd2;
@property (weak, nonatomic) IBOutlet UIButton *btnBd3;
@property (weak, nonatomic) IBOutlet UIButton *btnBd4;
@property (weak, nonatomic) IBOutlet UIButton *btnBd5;
@property (weak, nonatomic) IBOutlet UIButton *btnBd6;
@property (weak, nonatomic) IBOutlet UIButton *btnBd7;
@property (weak, nonatomic) IBOutlet UIButton *btnBd8;
@property (weak, nonatomic) IBOutlet UIButton *btnBd9;
@property (weak, nonatomic) IBOutlet UIButton *btnBd10;
@property (weak, nonatomic) IBOutlet UIButton *btnBmGongkai;
@property (weak, nonatomic) IBOutlet UIButton *btnBmBaomi;
@property (weak, nonatomic) IBOutlet UIButton *btnBmXiaoshouHgongkai;
@property (weak, nonatomic) IBOutlet UIButton *btnBmFllowGongkai;
@property (weak, nonatomic) IBOutlet UIButton *btnBmXSHFllowGongkai;

@property (weak, nonatomic) IBOutlet UITextField *tfRenGou;
@property (weak, nonatomic) IBOutlet UITextField *tfBaoDi;
@property (weak, nonatomic) IBOutlet UITextView *TV_xuanyan;
@property (weak, nonatomic) IBOutlet UIButton *btnFaqiHemai;
@property (weak, nonatomic) IBOutlet UILabel *label_FaTotalMoney;
@property (weak, nonatomic) IBOutlet UILabel *label_buyMoneyDetail;

- (IBAction)tfEditingDone:(id)sender;

- (IBAction)btnBDClick:(id)sender;
- (IBAction)btnBMClick:(id)sender;
- (IBAction)btn_QuanBaoClick:(id)sender;
- (IBAction)btnFaQiClick:(id)sender;
@end
